I
Type that will be requested.
T
Type that will actually be returned.
LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Register<I,T>() Method
See Also 
Leadtools.Dicom.AddIn Namespace > ServiceLocator Class > Register Method : Register<I,T>() Method



Registers a type mapping with the container.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Sub Register
     (Of I,T As I)() 
Visual Basic (Usage)Copy Code
ServiceLocator.Register(Of I, T)()
C# 
public static void Register<I,T>()where T: I
C++/CLI 
public:
static void Registergeneric<typename I>
generic<typename T>
(); where T: I

Type Parameters

I
Type that will be requested.
T
Type that will actually be returned.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features